#include <iostream>
using namespace std;
#include "MyQueue.h"

int main()
{
    MyQueue queue;

    queue.push(11);
    queue.push(22);
    queue.push(33);
    queue.push(44);
    queue.push(88);

    cout << "size:"<<queue.size()<<endl;
    cout << "front:"<<queue.front()<<endl;
    cout << "rear:"<<queue.rear()<<endl;

    while(queue.empty() != true)
    {
        cout << "front:"<<queue.front()<<endl;
        queue.pop();
    }
    cout << "size:"<<queue.size()<<endl;
    

    return 0; 
}